cmake_minimum_required(VERSION 3.10.2)

project("yuv")

include_directories(libyuv/include)
add_subdirectory(libyuv ./build)
aux_source_directory(./ SRC_FILE)
add_library(camera_yuv_jni SHARED ${SRC_FILE})
find_library(log-lib log)
target_link_libraries(camera_yuv_jni ${log-lib} yuv)